package com.starchen.optimalselection.common.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author daxilong
 * @date 2024/11/27 20:01
 */
@Data
@TableName("pms_attr_group")
public class AttributeGroup {

    /**
     * 分组id
     */
    @TableId
    private Long id;
    /**
     * 组名
     */
    private String name;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 描述
     */
    private String description;
    /**
     * 组图标
     */
    private String icon;
    /**
     * 所属分类id
     */
    private Long categoryId;

    @TableLogic
    private Integer isDeleted;

    @TableField(exist = false)
    private Long[] categoryPath;
}


